#include <stdio.h>
#include <stdlib.h>
#include "lcd.h"
#include "bmp.h"
#include "front.h"
#include "text.h"
#include "touch.h"
#include "mp3.h"
#include "led.h"
#include <pthread.h>
#include "gy39.h"
#include "voicectl.h"

extern int x_read;
extern int y_read;

void *get_user_input()
{
	while(1)
	{
		get_xy();
	}
}



int main()
{
	//初始化lcd屏幕
	init_lcd();
	init_touch_screen();
	system("insmod kobject_led.ko");

	bmp_display("./bmp/2.bmp", 0, 0);
	
	int id = voicectl("192.168.31.70");
	printf("id = %d\n",id);
	
	uninit_touch_screen();
	//解初始化lcd屏幕
	uninit_lcd();
}